package com.qumap.display;

import com.google.gwt.activity.shared.AbstractActivity;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 05.05.11
 * Time: 15:55
 * To change this template use File | Settings | File Templates.
 */
public class MapViewActivity extends AbstractActivity {

	private MapView view;

	public MapViewActivity(MapView view) {
		this.view = view;
	}

	@Override
	public void start(AcceptsOneWidget acceptsOneWidget, EventBus eventBus) {
		acceptsOneWidget.setWidget(view.getEditViewWidget());
	}
}
